
package com.jf.cloud.payment.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;

import java.util.Date;

/**
 * spu信息VO
 *
 * @author zz
 * @date 2020-10-28 15:27:24
 */
public class PayInfoExcelVO{
    /**
     * excel 信息
     */
    public static final String EXCEL_NAME = "收入对账";
    /**
     * 哪一行开始导出
     */
    public static final int MERGE_ROW_INDEX = 2;
    /**
     * 需要合并的列数组
     */
    public static final int[] MERGE_COLUMN_INDEX = {0};

    @ExcelProperty(value = {"收入对账信息", "序号"}, index = 0)
    private String seq;

    @ExcelProperty(value = {"收入对账信息", "店铺名称"})
    private String shopName;

    @ExcelProperty(value = {"收入对账信息", "支付单号"})
    private String payId;

    @ExcelProperty(value = {"收入对账信息", "关联订单号"})
    private String orderIds;

    /**
     * 支付入口[0订单 1充值 2开通会员]
     */
    @ExcelProperty(value = {"收入对账信息", "支付入口"})
    private String payEntry;

    /**
     * 支付方式 [0积分支付    1微信小程序支付    2支付宝支付    3微信扫码支付
     * 4微信H5支付    5微信公众号支付    6支付宝H5支付    7支付宝APP支付    8微信APP支付    9余额支付]
     */
    @ExcelProperty(value = {"收入对账信息", "支付方式"})
    private String payType;

    @ExcelProperty(value = {"收入对账信息", "支付积分"})
    private String payScore;

    @ExcelProperty(value = {"收入对账信息", "支付宝金额"})
    private String alipayAmount;

    @ExcelProperty(value = {"收入对账信息", "微信金额"})
    private String wechatAmount;

    @ExcelProperty(value = {"收入对账信息", "余额金额"})
    private String balanceAmount;

    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = {"收入对账信息", "支付时间"})
    private Date payTime;

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getOrderIds() {
        return orderIds;
    }

    public void setOrderIds(String orderIds) {
        this.orderIds = orderIds;
    }

    public String getPayEntry() {
        return payEntry;
    }

    public void setPayEntry(String payEntry) {
        this.payEntry = payEntry;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayScore() {
        return payScore;
    }

    public void setPayScore(String payScore) {
        this.payScore = payScore;
    }

    public String getAlipayAmount() {
        return alipayAmount;
    }

    public void setAlipayAmount(String alipayAmount) {
        this.alipayAmount = alipayAmount;
    }

    public String getWechatAmount() {
        return wechatAmount;
    }

    public void setWechatAmount(String wechatAmount) {
        this.wechatAmount = wechatAmount;
    }

    public String getBalanceAmount() {
        return balanceAmount;
    }

    public void setBalanceAmount(String balanceAmount) {
        this.balanceAmount = balanceAmount;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    @Override
    public String toString() {
        return "PayInfoExcelVO{" +
                "seq='" + seq + '\'' +
                ", shopName='" + shopName + '\'' +
                ", payId=" + payId +
                ", orderIds='" + orderIds + '\'' +
                ", payEntry='" + payEntry + '\'' +
                ", payType='" + payType + '\'' +
                ", payScore='" + payScore + '\'' +
                ", alipayAmount=" + alipayAmount +
                ", wechatAmount=" + wechatAmount +
                ", balanceAmount=" + balanceAmount +
                ", payTime=" + payTime +
                '}';
    }
}
